package org.seedltd.upms.model.sys.form;

import java.util.Date;

import org.seedltd.base.annotation.Like;
import org.seedltd.base.annotation.LikeType;
import org.seedltd.base.annotation.SqlSegment;
import org.seedltd.core.base.BaseSearchForm;
import org.seedltd.upms.enums.EnableStatus;

import com.baomidou.mybatisplus.annotation.OrderBy;

import lombok.Getter;
import lombok.Setter;

/**
 * @author laizuan
 * @date 2020/08/06
 */
@Getter
@Setter
public class SysParamSearchForm extends BaseSearchForm {

    /**
     * 参数key
     */
    @SqlSegment
    private String paramKey;

    /**
     * 参数值
     */
    @Like(likeType = LikeType.full)
    private String paramValue;

    /**
     * 启禁用状态
     */
    @SqlSegment
    private EnableStatus enabled;

    /**
     * 创建时间排序
     */
    @OrderBy
    private Date createTime;
}
